<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:mo="https://gitee.com/aun/Timo">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
<center th:if="${newFlag=='1'}"><font color="#006400">会议室预订成功，继续完善预订信息</font></center>
    <div class="layui-form timo-compile">
    <form th:action="@{/meeting/order/room/updatetake}">
        <input type="hidden" name="id" th:if="${orderInfo}" th:value="${orderInfo.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">预订的会议室</label>
            <div class="layui-input-inline">
                <div th:replace="/common/fragment :: selectTag('meetingId',${rooms},${orderInfo?.meetingId},'id','title','disabled')"></div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">会议时间</label>
            <div class="layui-input-inline">
                <span th:text="${#dates.format(orderInfo.startTime,'yyyy-MM-dd HH:mm')}"></span>
                ~
                <span th:text="${#dates.format(orderInfo.endTime,'yyyy-MM-dd HH:mm')}"></span>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">会议主题</label>
            <div class="layui-input-inline">
                <input type="hidden" id="userName" th:value="${user?.nickname}">
                <input class="layui-input" type="text" id="subject" name="subject" placeholder="请输入会议主题" th:value="${orderInfo.subject}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">参会人数</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="persons" placeholder="请输入参会人数" th:value="${orderInfo.persons}">
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-post"><i class="fa fa-check-circle"></i> 更新会议信息</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>